home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
Archives
/
ForCLI
/
RonII031.lha
/
dist
/
ronii
/
rexx
/
example.ron
next >
Wrap
Text File
|
1995-01-22
|
1KB
|
55 lines
/* ronII ARexx demo */
address ron_II
say "What's watched?"
say ""
list stem l
do i=0 to l.count; say l.i; end;
say ""
say "ok and now parameters of them"
say ""
do i=0 to l.count
show l.i s
say "------------"l.i"--------------"
say "File: '"s.file"'"
say "Fully qualified name: '"s.full"'"
say "Run this command: '"s.exec"'"
say "Output to: '"s.out"'"
say "Append?: "s.outapp
say "Input from: '"s.in"'"
say "Mailuser: '"s.mailuser"'"
say "Stack: "s.stack
say "Priority: "s.pri
say "Customshell is: '"s.customsh"'"
say "Use systemshell?: "s.syssh
say "Don't log start?: "s.nolog
/* say "---" */
end;
say ""
say "Now I will add 'S:Startup-sequence'. If it"
say "is already watched, I will ignore it (FORCE)"
say "The output of 'type S:Startup-sequence' will"
say "be mailed to root"
add 's:startup-sequence "type S:Startup-sequence" mailuser root force'
list stem l
do i=0 to l.count; say l.i; end;
say ""
say "now remove 'S:Startup-sequence' but now with"
say "del 'sys:s/startup-sequence'"
del 'sys:s/startup-sequence'
list stem l
do i=0 to l.count; say l.i; end;
say ""
say "ok. I quit."
say "Good bye"
/* quit */